#include "../source/server.hpp"



int main()
{
    Socket cli_sock;
    bool ret = cli_sock.CreateClient("127.0.0.1",8088);
    int i = 0;
    while(i<5)
    {
        std::string str = "Hello Test!";
        cli_sock.Send(str.c_str(),str.size());
        char buf[1024] = {0};
        cli_sock.NonBlockRecv(buf,1023);
        DBG_LOG("%s",buf);
        sleep(1);
        ++i;
    }
    while(1);
    return 0;
}
